﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Dukey.DBUtility;

public partial class NewsSorts : BaseCrm
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void btnAddNew_Click(object sender, EventArgs e)
    {
        string sql = "insert into NewsSorts(sort_name) values('新分类')";
        DbHelper.ExecuteSql(sql);
        gvList.DataSourceID = "AccessDataSource1";
    }
}
